package com.glory.brepda.entity;

import com.google.gson.annotations.SerializedName;

import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: LotInfoEntity
 * Author: XJH
 * Date: 2020/5/26 14:19
 * Description: lot信息
 * History:
 */
public class LotInfoEntity implements Serializable {

    private LotBean LOT;

    private LotBean XMLot;

    private PARTBean PART;

    private WORKORDERBean WORKORDER;

    private double PACKAGETYPEQTY;

    private String PRODUCTMODEL;

    private List<String> DURABLELIST;

    private List<LotBean> LOTLIST;

    private List<LotBean> MLOTLIST;

    private List<StepListBean> STEPLIST;

    private String CHIPNAME;

    private String WIRESPEC;

    private String WIRINGNO;

    private String PACKAGETYPE;

    private String FACTORY;

    private String SEALNO;

    private String CHIPID;

    private String LINEID;

    private String ASSORDER;

    private String SHOWMSG;

    private String IsSampled;

    private String NUM;

    private String BD_CODE;

    private String LIMITPACKAGETYPEQTY;

    private String WIRETYPE;

    private String WAFERSIZE;

    private String DIESIZE;

    private String IS_SINGLE;

    private String CHIPTHICKNESS;

    private String LOCATORID;

    private String SHOW_MSG;

    private String TOTALLSL;

    private String TIP;

    private String FKNIFE;  // 封刀温度

    // 框架信息
    private String FRAME_INFO;

    // 黑箱（载具）信息 carrier case
    private String CARRIERCASE;

    public String getCARRIERCASE() {
        return CARRIERCASE == null ? StringUtils.EMPTY : CARRIERCASE;
    }

    public void setCARRIERCASE(String CARRIERCASE) {
        this.CARRIERCASE = CARRIERCASE;
    }

    private String ISPRINTSTRIPQTY;

    private String STRIPQTY;

    public String getISPRINTSTRIPQTY() {
        return ISPRINTSTRIPQTY;
    }

    public void setISPRINTSTRIPQTY(String ISPRINTSTRIPQTY) {
        this.ISPRINTSTRIPQTY = ISPRINTSTRIPQTY;
    }

    public String getSTRIPQTY() {
        return STRIPQTY;
    }

    public void setSTRIPQTY(String STRIPQTY) {
        this.STRIPQTY = STRIPQTY;
    }

    public String getFRAME_INFO() {
        return FRAME_INFO == null ? StringUtils.EMPTY : FRAME_INFO;
    }

    public void setFRAME_INFO(String FRAME_INFO) {
        this.FRAME_INFO = FRAME_INFO;
    }

    public String getFKNIFE() {
        return FKNIFE == null ?"" : FKNIFE;
    }

    public void setFKNIFE(String FKNIFE) {
        this.FKNIFE = FKNIFE;
    }

    public String getTip() { return TIP == null ? "":TIP; }

    public void setTip(String TIP) { this.TIP = TIP; }

    public String getTOTALLSL() {
        return TOTALLSL == null ? "" : TOTALLSL;
    }

    public void setTOTALLSL(String TOTALLSL) {
        this.TOTALLSL = TOTALLSL;
    }

    private ArrayList<FutureTimeRinstanceList> FUTURETIMERINSTANCELIST;

    public LotBean getXMLot() {
        return XMLot;
    }

    public void setXMLot(LotBean XMLot) {
        this.XMLot = XMLot;
    }

    public String getSHOW_MSG() {
        return SHOW_MSG == null ? "" : SHOW_MSG;
    }

    public void setSHOW_MSG(String SHOW_MSG) {
        this.SHOW_MSG = SHOW_MSG;
    }

    public String getLOCATORID() {
        return LOCATORID == null ? "" : LOCATORID;
    }

    public void setLOCATORID(String LOCATORID) {
        this.LOCATORID = LOCATORID;
    }

    public ArrayList<FutureTimeRinstanceList> getFUTURETIMERINSTANCELIST() {
        if (FUTURETIMERINSTANCELIST == null) {
            return new ArrayList<>();
        }
        return FUTURETIMERINSTANCELIST;
    }

    public void setFUTURETIMERINSTANCELIST(ArrayList<FutureTimeRinstanceList> FUTURETIMERINSTANCELIST) {
        this.FUTURETIMERINSTANCELIST = FUTURETIMERINSTANCELIST;
    }

    public List<LotBean> getMLOTLIST() {
        if (MLOTLIST == null) {
            return new ArrayList<>();
        }
        return MLOTLIST;
    }

    public void setMLOTLIST(List<LotBean> MLOTLIST) {
        this.MLOTLIST = MLOTLIST;
    }

    public String getIS_SINGLE() {
        return IS_SINGLE == null ? "" : IS_SINGLE;
    }

    public void setIS_SINGLE(String IS_SINGLE) {
        this.IS_SINGLE = IS_SINGLE;
    }

    public String getCHIPTHICKNESS() {
        return CHIPTHICKNESS == null ? "" : CHIPTHICKNESS;
    }

    public void setCHIPTHICKNESS(String CHIPTHICKNESS) {
        this.CHIPTHICKNESS = CHIPTHICKNESS;
    }

    public PARTBean getPART() {
        return PART;
    }

    public void setPART(PARTBean PART) {
        this.PART = PART;
    }

    public WORKORDERBean getWORKORDER() {
        return WORKORDER;
    }

    public void setWORKORDER(WORKORDERBean WORKORDER) {
        this.WORKORDER = WORKORDER;
    }

    public String getISSINGLE() {
        return IS_SINGLE == null ? "" : IS_SINGLE;
    }

    public void setISSINGLE(String ISSINGLE) {
        this.IS_SINGLE = ISSINGLE;
    }

    public String getWIRETYPE() {
        return WIRETYPE == null ? "" : WIRETYPE;
    }

    public String getWAFERSIZE() {
        return WAFERSIZE == null ? "" : WAFERSIZE;
    }

    public String getDIESIZE() {
        return DIESIZE == null ? "" : DIESIZE;
    }

    public void setWIRETYPE(String WIRETYPE) {
        this.WIRETYPE = WIRETYPE;
    }

    public void setWAFERSIZE(String WAFERSIZE) {
        this.WAFERSIZE = WAFERSIZE;
    }

    public void setDIESIZE(String DIESIZE) {
        this.DIESIZE = DIESIZE;
    }

    public void setLIMITPACKAGETYPEQTY(String LIMITPACKAGETYPEQTY) {
        this.LIMITPACKAGETYPEQTY = LIMITPACKAGETYPEQTY;
    }

    public String getLIMITPACKAGETYPEQTY() {
        return LIMITPACKAGETYPEQTY;
    }

    public String getBD_CODE() {
        return BD_CODE;
    }

    public void setBD_CODE(String BD_CODE) {
        this.BD_CODE = BD_CODE;
    }

    public String getIsSampled() {
        return IsSampled == null ? "" : IsSampled;
    }

    public void setIsSampled(String isSampled) {
        IsSampled = isSampled;
    }

    public String getNUM() {
        return NUM == null ? "" : NUM;
    }

    public void setNUM(String NUM) {
        this.NUM = NUM;
    }

    public String getSHOWMSG() {
        return SHOWMSG == null ? "" : SHOWMSG;
    }

    public void setSHOWMSG(String SHOWMSG) {
        this.SHOWMSG = SHOWMSG;
    }

    public String getASSORDER() {
        return ASSORDER == null ? "" : ASSORDER;
    }

    public void setASSORDER(String ASSORDER) {
        this.ASSORDER = ASSORDER;
    }

    public List<LotBean> getLOTLIST() {
        if (LOTLIST == null) {
            return new ArrayList<>();
        }
        return LOTLIST;
    }

    public void setLOTLIST(List<LotBean> LOTLIST) {
        this.LOTLIST = LOTLIST;
    }

    public List<StepListBean> getSTEPLIST() {
        if (STEPLIST == null) {
            return new ArrayList<>();
        }
        return STEPLIST;
    }

    public void setSTEPLIST(List<StepListBean> STEPLIST) {
        this.STEPLIST = STEPLIST;
    }

    public String getLINEID() {
        return LINEID == null ? "" : LINEID;
    }

    public void setLINEID(String LINEID) {
        this.LINEID = LINEID;
    }

    public String getCHIPID() {
        return CHIPID == null ? "" : CHIPID;
    }

    public void setCHIPID(String CHIPID) {
        this.CHIPID = CHIPID;
    }

    public String getSEALNO() {
        return SEALNO == null ? "" : SEALNO;
    }

    public void setSEALNO(String SEALNO) {
        this.SEALNO = SEALNO;
    }

    public String getFACTORY() {
        return FACTORY == null ? "" : FACTORY;
    }

    public void setFACTORY(String FACTORY) {
        this.FACTORY = FACTORY;
    }

    public String getPACKAGETYPE() {
        return PACKAGETYPE == null ? "" : PACKAGETYPE;
    }

    public void setPACKAGETYPE(String PACKAGETYPE) {
        this.PACKAGETYPE = PACKAGETYPE;
    }

    public String getWIRINGNO() {
        return WIRINGNO == null ? "" : WIRINGNO;
    }

    public void setWIRINGNO(String WIRINGNO) {
        this.WIRINGNO = WIRINGNO;
    }

    public String getCHIPNAME() {
        return CHIPNAME == null ? "" : CHIPNAME;
    }

    public void setCHIPNAME(String CHIPNAME) {
        this.CHIPNAME = CHIPNAME;
    }

    public String getWIRESPEC() {
        return WIRESPEC == null ? "" : WIRESPEC;
    }

    public void setWIRESPEC(String WIRESPEC) {
        this.WIRESPEC = WIRESPEC;
    }

    public List<String> getDURABLELIST() {
        if (DURABLELIST == null) {
            return new ArrayList<>();
        }
        return DURABLELIST;
    }

    public void setDURABLELIST(List<String> DURABLELIST) {
        this.DURABLELIST = DURABLELIST;
    }

    public String getPRODUCTMODEL() {
        return PRODUCTMODEL == null ? "" : PRODUCTMODEL;
    }

    public void setPRODUCTMODEL(String PRODUCTMODEL) {
        this.PRODUCTMODEL = PRODUCTMODEL;
    }

    public int getPACKAGETYPEQTY() {
        return new Double(PACKAGETYPEQTY).intValue();
    }

    public void setPACKAGETYPEQTY(double PACKAGETYPEQTY) {
        this.PACKAGETYPEQTY = PACKAGETYPEQTY;
    }

    public LotBean getLOT() {
        return LOT == null ? new LotBean() : LOT;
    }

    public void setLOT(LotBean LOT) {
        this.LOT = LOT;
    }

    public static class UDFEntity implements Serializable {
        private String ASSEMBLEBATCH;

        private String APSPLANTESTEQP;
        private String needSample;
        private String equipmentId;
        private String productModel;
        private String reserved5;
        private String branchOfProcess;
        private String aMatCount;
        private String tMatCount;

        public String getaMatCount() {
            return aMatCount;
        }

        public void setaMatCount(String aMatCount) {
            this.aMatCount = aMatCount;
        }

        public String gettMatCount() {
            return tMatCount;
        }

        public void settMatCount(String tMatCount) {
            this.tMatCount = tMatCount;
        }

        public String getbranchOfProcess() { return branchOfProcess == null ? "":branchOfProcess; }

        public void setbranchOfProcess(String branchOfProcess) { this.branchOfProcess = branchOfProcess; }

        public String getProductModel() { return productModel == null ? "":productModel; }

        public void setProductModel(String productModel) { this.productModel = productModel; }

        public String getEquipmentId() {
            return equipmentId == null ? "" : equipmentId;
        }

        public void setEquipmentId(String equipmentId) {
            this.equipmentId = equipmentId;
        }

        public String getNeedSample() {
            return needSample == null ? "" : needSample;
        }

        public void setNeedSample(String needSample) {
            this.needSample = needSample;
        }

        public String getASSEMBLEBATCH() {
            return ASSEMBLEBATCH == null ? "" : ASSEMBLEBATCH;
        }

        public void setASSEMBLEBATCH(String ASSEMBLEBATCH) {
            this.ASSEMBLEBATCH = ASSEMBLEBATCH;
        }

        public String getAPSPLANTESTEQP() {
            return APSPLANTESTEQP == null ? "" : APSPLANTESTEQP;
        }

        public void setAPSPLANTESTEQP(String APSPLANTESTEQP) {
            this.APSPLANTESTEQP = APSPLANTESTEQP;
        }

        public String getRESERVED5(){return reserved5 == null ? "" : reserved5;}
        public void setRESERVED5(String Reserved5){reserved5=Reserved5;}
    }

    public class StepListBean implements Serializable {

        @SerializedName("DEFECTCODESRC")
        private String DEFECTCODESRC;
        @SerializedName("SCRAPCODESRC")
        private String SCRAPCODESRC;

        public String getDEFECTCODESRC() {
            return DEFECTCODESRC == null ? "" : DEFECTCODESRC;
        }

        public void setDEFECTCODESRC(String DEFECTCODESRC) {
            this.DEFECTCODESRC = DEFECTCODESRC;
        }

        public String getSCRAPCODESRC() {
            return SCRAPCODESRC == null ? "" : SCRAPCODESRC;
        }

        public void setSCRAPCODESRC(String SCRAPCODESRC) {
            this.SCRAPCODESRC = SCRAPCODESRC;
        }
    }

    public class LotBean implements Serializable {

        @SerializedName("OBJECTRRN")
        private String OBJECTRRN;
        @SerializedName("ORGRRN")
        private String ORGRRN;
        @SerializedName("LOTID")
        private String LOTID;
        @SerializedName("SUBSTRATEID2")
        private String SUBSTRATEID2;
        @SerializedName("LOTTYPE")
        private String LOTTYPE;
        @SerializedName("PARTNAME")
        private String PARTNAME;
        @SerializedName("PARTVERSION")
        private String PARTVERSION;
        @SerializedName("PARTDESC")
        private String PARTDESC;
        @SerializedName("CUSTOMERCODE")
        private String CUSTOMERCODE;
        @SerializedName("MAINQTY")
        private String MAINQTY;
        @SerializedName("PROCESSNAME")
        private String PROCESSNAME;
        @SerializedName("PROCESSVERSION")
        private String PROCESSVERSION;
        @SerializedName("PROCEDURENAME")
        private String PROCEDURENAME;
        @SerializedName("PROCEDUREVERSION")
        private String PROCEDUREVERSION;
        @SerializedName("STEPNAME")
        private String STEPNAME;
        @SerializedName("STEPVERSION")
        private String STEPVERSION;
        @SerializedName("STEPDESC")
        private String STEPDESC;
        @SerializedName("STEPDESCPTION")
        private String STEPDESCPTION;
        @SerializedName("STEPRRN")
        private String STEPRRN;
        @SerializedName("COMCLASS")
        private String COMCLASS;
        @SerializedName("STATE")
        private String STATE;
        @SerializedName("UPDATED")
        private String UPDATED;
        @SerializedName("UPDATEDBY")
        private String UPDATEDBY;
        @SerializedName("MAINMATTYPE")
        private String MAINMATTYPE;
        @SerializedName("HOLDSTATE")
        private String HOLDSTATE;
        @SerializedName("PRIORITY")
        private String PRIORITY;
        @SerializedName("WOID")
        private String WOID;
        @SerializedName("REWORKCOUNT")
        private String REWORKCOUNT;
        @SerializedName("USECOUNT")
        private String USECOUNT;
        @SerializedName("OPERATOR1")
        private String OPERATOR1;
        @SerializedName("CREATED")
        private String CREATED;
        @SerializedName("ISSUBLOT")
        private String ISSUBLOT;
        @SerializedName("QUEUETIME")
        private String QUEUETIME;
        @SerializedName("TRACKINTIME")
        private String TRACKINTIME;
        @SerializedName("TRACKOUTTIME")
        private String TRACKOUTTIME;
        @SerializedName("EQUIPMENTID")
        private String EQUIPMENTID;
        @SerializedName("SUBUNITTYPE")
        private String SUBUNITTYPE;
        @SerializedName("CUSTOMERORDER")
        private String CUSTOMERORDER;
        @SerializedName("CUSTOMERLOTID")
        private String CUSTOMERLOTID;
        @SerializedName("PARTRRN")
        private String PARTRRN;
        @SerializedName("DURABLEID")
        private String DURABLEID;
        @SerializedName("LOCATORID")
        private String LOCATORID;
        @SerializedName("SUBQTY")
        private String SUBQTY;
        @SerializedName("TRACK_IN_SUB_QTY")
        private String TRACK_IN_SUB_QTY;
        @SerializedName("PARTTYPE")
        private String PARTTYPE;
        @SerializedName("CUSTOMERPARTID")
        private String CUSTOMERPARTID;
        @SerializedName("MATERIALTYPE")
        private String MATERIALTYPE;
        @SerializedName("MATERIALDESC")
        private String MATERIALDESC;
        @SerializedName("MATERIALNAME")
        private String MATERIALNAME;
        @SerializedName("JUDGE1")
        private String JUDGE1;
        @SerializedName("openBigMax")
        private String OPENBIGMAX;
        @SerializedName("openBigMin")
        private String OPENBIGMIN;
        @SerializedName("LOCATION")
        private String LOCATION;
        @SerializedName("STARTMAINQTY")
        private String STARTMAINQTY;
        @SerializedName("MATCOUNTSTANDARD")
        private String MATCOUNTSTANDARD;
        private UDFEntity UDF;

        public String getMATCOUNTSTANDARD() {
            return MATCOUNTSTANDARD;
        }

        public void setMATCOUNTSTANDARD(String MATCOUNTSTANDARD) {
            this.MATCOUNTSTANDARD = MATCOUNTSTANDARD;
        }

        public String getSTARTMAINQTY() {
            return STARTMAINQTY;
        }

        public void setSTARTMAINQTY(String STARTMAINQTY) {
            this.STARTMAINQTY = STARTMAINQTY;
        }

        public String getMATERIALDESC() {
            return MATERIALDESC == null ? "" : MATERIALDESC;
        }

        public void setMATERIALDESC(String MATERIALDESC) {
            this.MATERIALDESC = MATERIALDESC;
        }

        public String getJUDGE1() {
            return JUDGE1 == null ? "" : JUDGE1;
        }

        public void setJUDGE1(String JUDGE1) {
            this.JUDGE1 = JUDGE1;
        }

        public String getOPENBIGMAX() {
            return OPENBIGMAX == null ? "" : OPENBIGMAX;
        }

        public void setOPENBIGMAX(String OPENBIGMAX) {
            this.OPENBIGMAX = OPENBIGMAX;
        }

        public String getOPENBIGMIN() {
            return OPENBIGMIN == null ? "" : OPENBIGMIN;
        }

        public void setOPENBIGMIN(String OPENBIGMIN) {
            this.OPENBIGMIN = OPENBIGMIN;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getCUSTOMERPARTID() {
            return CUSTOMERPARTID == null ? "" : CUSTOMERPARTID;
        }

        public void setCUSTOMERPARTID(String CUSTOMERPARTID) {
            this.CUSTOMERPARTID = CUSTOMERPARTID;
        }

        public String getPARTTYPE() {
            return PARTTYPE == null ? "" : PARTTYPE;
        }

        public void setPARTTYPE(String PARTTYPE) {
            this.PARTTYPE = PARTTYPE;
        }

        public String getTRACK_IN_SUB_QTY() {
            return TRACK_IN_SUB_QTY;
        }

        public void setTRACK_IN_SUB_QTY(String TRACK_IN_SUB_QTY) {
            this.TRACK_IN_SUB_QTY = TRACK_IN_SUB_QTY;
        }

        public String getSUBQTY() {
            return SUBQTY;
        }

        public void setSUBQTY(String SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public String getLOCATORID() {
            return LOCATORID;
        }

        public void setLOCATORID(String LOCATORID) {
            this.LOCATORID = LOCATORID;
        }

        public String getCUSTOMERLOTID() {
            return CUSTOMERLOTID;
        }

        public void setCUSTOMERLOTID(String CUSTOMERLOTID) {
            this.CUSTOMERLOTID = CUSTOMERLOTID;
        }

        public UDFEntity getUDF() {
            return UDF;
        }

        public void setUDF(UDFEntity UDF) {
            this.UDF = UDF;
        }

        public String getDURABLEID() {
            return DURABLEID;
        }

        public void setDURABLEID(String DURABLEID) {
            this.DURABLEID = DURABLEID;
        }

        public String getMAINMATTYPE() {
            return MAINMATTYPE == null ? "" : MAINMATTYPE;
        }

        public void setMAINMATTYPE(String MAINMATTYPE) {
            this.MAINMATTYPE = MAINMATTYPE;
        }

        public String getCUSTOMERORDER() {
            return CUSTOMERORDER == null ? "" : CUSTOMERORDER;
        }

        public void setCUSTOMERORDER(String CUSTOMERORDER) {
            this.CUSTOMERORDER = CUSTOMERORDER;
        }

        public String getEQUIPMENTID() {
            return EQUIPMENTID == null ? "" : EQUIPMENTID;
        }

        public void setEQUIPMENTID(String EQUIPMENTID) {
            this.EQUIPMENTID = EQUIPMENTID;
        }

        public String getOBJECTRRN() {
            return OBJECTRRN == null ? "" : OBJECTRRN;
        }

        public void setOBJECTRRN(String OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getORGRRN() {
            return ORGRRN == null ? "" : ORGRRN;
        }

        public void setORGRRN(String ORGRRN) {
            this.ORGRRN = ORGRRN;
        }

        public String getLOTID() {
            return LOTID == null ? "" : LOTID;
        }

        public void setLOTID(String LOTID) {
            this.LOTID = LOTID;
        }

        public String getSUBSTRATEID1() {
            return SUBSTRATEID2 == null ? "" : SUBSTRATEID2;
        }

        public void setSUBSTRATEID1(String SUBSTRATEID1) {
            this.SUBSTRATEID2 = SUBSTRATEID1;
        }

        public String getLOTTYPE() {
            return LOTTYPE == null ? "" : LOTTYPE;
        }

        public void setLOTTYPE(String LOTTYPE) {
            this.LOTTYPE = LOTTYPE;
        }

        public String getPARTNAME() {
            return PARTNAME == null ? "" : PARTNAME;
        }

        public void setPARTNAME(String PARTNAME) {
            this.PARTNAME = PARTNAME;
        }

        public String getPARTVERSION() {
            return PARTVERSION == null ? "" : PARTVERSION;
        }

        public void setPARTVERSION(String PARTVERSION) {
            this.PARTVERSION = PARTVERSION;
        }

        public String getPARTDESC() {
            return PARTDESC == null ? "" : PARTDESC;
        }

        public void setPARTDESC(String PARTDESC) {
            this.PARTDESC = PARTDESC;
        }

        public String getCUSTOMERCODE() {
            return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
        }

        public void setCUSTOMERCODE(String CUSTOMERCODE) {
            this.CUSTOMERCODE = CUSTOMERCODE;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "0" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getPROCESSNAME() {
            return PROCESSNAME == null ? "" : PROCESSNAME;
        }

        public void setPROCESSNAME(String PROCESSNAME) {
            this.PROCESSNAME = PROCESSNAME;
        }

        public String getPROCESSVERSION() {
            return PROCESSVERSION == null ? "" : PROCESSVERSION;
        }

        public void setPROCESSVERSION(String PROCESSVERSION) {
            this.PROCESSVERSION = PROCESSVERSION;
        }

        public String getPROCEDURENAME() {
            return PROCEDURENAME == null ? "" : PROCEDURENAME;
        }

        public void setPROCEDURENAME(String PROCEDURENAME) {
            this.PROCEDURENAME = PROCEDURENAME;
        }

        public String getPROCEDUREVERSION() {
            return PROCEDUREVERSION == null ? "" : PROCEDUREVERSION;
        }

        public void setPROCEDUREVERSION(String PROCEDUREVERSION) {
            this.PROCEDUREVERSION = PROCEDUREVERSION;
        }

        public String getSTEPNAME() {
            return STEPNAME == null ? "" : STEPNAME;
        }

        public String getSTEPDESCPTION() {
            return STEPDESCPTION == null ? "" : STEPDESCPTION;
        }

        public void setSTEPDESCPTION(String STEPDESCPTION) {
            this.STEPDESCPTION = STEPDESCPTION;
        }

        public void setSTEPNAME(String STEPNAME) {
            this.STEPNAME = STEPNAME;
        }

        public String getSTEPVERSION() {
            return STEPVERSION == null ? "" : STEPVERSION;
        }

        public void setSTEPVERSION(String STEPVERSION) {
            this.STEPVERSION = STEPVERSION;
        }

        public String getSTEPDESC() {
            return STEPDESC == null ? "" : STEPDESC;
        }

        public void setSTEPDESC(String STEPDESC) {
            this.STEPDESC = STEPDESC;
        }

        public String getCOMCLASS() {
            return COMCLASS == null ? "" : COMCLASS;
        }

        public void setCOMCLASS(String COMCLASS) {
            this.COMCLASS = COMCLASS;
        }

        public String getSTATE() {
            if (STATE == null || STATE.equals("")) {
                return "";
            }
            String state = "";
            switch (STATE) {
                case "WAIT":
                    state = "等待作业";
                    break;
                case "RUN":
                    state = "正在作业";
                    break;
                case "FIN":
                    state = "结束作业";
                    break;
                case "SHIP":
                    state = "已经入库";
                    break;
                case "TERM":
                    state = "终止批次";
                    break;
                case "MERGE":
                    state = "被合批";
                    break;
                case "SCHD":
                    state = "待投产";
                    break;
                case "PACKED":
                    state = "拥挤状态";
                    break;
                case "TRACKOUT":
                    state = "出站状态";
                    break;
            }
            return state;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getUPDATED() {
            return UPDATED == null ? "" : UPDATED;
        }

        public void setUPDATED(String UPDATED) {
            this.UPDATED = UPDATED;
        }

        public String getUPDATEDBY() {
            return UPDATEDBY == null ? "" : UPDATEDBY;
        }

        public void setUPDATEDBY(String UPDATEDBY) {
            this.UPDATEDBY = UPDATEDBY;
        }

        public String getHOLDSTATE() {
            String holdstate = "";
            switch (HOLDSTATE){
                case "Off":
                    holdstate = "正常";
                    break;
                case "On":
                    holdstate = "暂扣";
                    break;
            }
            return HOLDSTATE == null ? "" : holdstate;
        }

        public void setHOLDSTATE(String HOLDSTATE) {
            this.HOLDSTATE = HOLDSTATE;
        }

        public String getPRIORITY() {
            return PRIORITY == null ? "" : PRIORITY;
        }

        public void setPRIORITY(String PRIORITY) {
            this.PRIORITY = PRIORITY;
        }

        public String getWOID() {
            return WOID == null ? "" : WOID;
        }

        public void setWOID(String WOID) {
            this.WOID = WOID;
        }

        public String getREWORKCOUNT() {
            return REWORKCOUNT == null ? "" : REWORKCOUNT;
        }

        public void setREWORKCOUNT(String REWORKCOUNT) {
            this.REWORKCOUNT = REWORKCOUNT;
        }

        public String getUSECOUNT() {
            return USECOUNT == null ? "" : USECOUNT;
        }

        public void setUSECOUNT(String USECOUNT) {
            this.USECOUNT = USECOUNT;
        }

        public String getOPERATOR1() {
            return OPERATOR1 == null ? "" : OPERATOR1;
        }

        public void setOPERATOR1(String OPERATOR1) {
            this.OPERATOR1 = OPERATOR1;
        }

        public String getCREATED() {
            return CREATED == null ? "" : CREATED;
        }

        public void setCREATED(String CREATED) {
            this.CREATED = CREATED;
        }

        public String getISSUBLOT() {
            return ISSUBLOT == null ? "" : ISSUBLOT;
        }

        public void setISSUBLOT(String ISSUBLOT) {
            this.ISSUBLOT = ISSUBLOT;
        }

        public String getLOCATION() {
            return LOCATION == null ? "" : LOCATION;
        }

        public void setLOCATION(String LOCATION) {
            this.LOCATION = LOCATION;
        }

        public String getTRACKINTIME() {
            return TRACKINTIME == null ? "" : TRACKINTIME;
        }

        public void setTRACKINTIME(String TRACKINTIME) {
            this.TRACKINTIME = TRACKINTIME;
        }

        public String getTRACKOUTTIME() {
            return TRACKOUTTIME == null ? "" : TRACKOUTTIME;
        }

        public void setTRACKOUTTIME(String TRACKOUTTIME) {
            this.TRACKOUTTIME = TRACKOUTTIME;
        }

        public String getSUBUNITTYPE() {
            return SUBUNITTYPE == null ? "" : SUBUNITTYPE;
        }

        public void setSUBUNITTYPE(String SUBUNITTYPE) {
            this.SUBUNITTYPE = SUBUNITTYPE;
        }

        public String getSUBSTRATEID2() {
            return SUBSTRATEID2;
        }

        public String getSTEPRRN() {
            return STEPRRN;
        }

        public String getQUEUETIME() {
            return QUEUETIME;
        }

        public String getPARTRRN() {
            return PARTRRN;
        }

        public void setSUBSTRATEID2(String SUBSTRATEID2) {
            this.SUBSTRATEID2 = SUBSTRATEID2;
        }

        public void setSTEPRRN(String STEPRRN) {
            this.STEPRRN = STEPRRN;
        }

        public void setQUEUETIME(String QUEUETIME) {
            this.QUEUETIME = QUEUETIME;
        }



        public void setPARTRRN(String PARTRRN) {
            this.PARTRRN = PARTRRN;
        }
    }

    public class PARTBean implements Serializable{
        private String SPEC2;
        private PARTUDFEntity UDF;

        public String getSPEC2() {
            return SPEC2 == null ? "" : SPEC2;
        }

        public void setSPEC2(String SPEC2) {
            this.SPEC2 = SPEC2;
        }

        public PARTUDFEntity getUDF() {
            return UDF;
        }

        public void setUDF(PARTUDFEntity UDF) {
            this.UDF = UDF;
        }

        @Override
        public String toString() {
            return "PARTBean{" +
                    "SPEC2='" + SPEC2 + '\'' +
                    '}';
        }
    }

    public static class PARTUDFEntity implements Serializable {
        private String carRules;

        public String getcarRules() {
            return carRules == null ? "" : carRules;
        }

        public void setcarRules(String carRules) {
            this.carRules = carRules;
        }
    }

    public class WORKORDERBean implements Serializable{
        private String RESERVED3;
        private String DOCTYPE;
        @SerializedName("CUSTOMERORDER")
        private String CUSTOMERORDER;
        private WORKORDERUDFEntity UDF;

        public String getCUSTOMERORDER() {
            return CUSTOMERORDER == null ? "" : CUSTOMERORDER;
        }

        public void setCUSTOMERORDER(String CUSTOMERORDER) {
            this.CUSTOMERORDER = CUSTOMERORDER;
        }

        public String getRESERVED3() {
            return RESERVED3 == null ? "" : RESERVED3;
        }

        public void setRESERVED3(String RESERVED3) {
            this.RESERVED3 = RESERVED3;
        }

        public String getDOCTYPE(){return DOCTYPE==null?"":DOCTYPE;}

        public void setDOCTYPE(String DOCTYPE){this.DOCTYPE=DOCTYPE;}

        public WORKORDERUDFEntity getUDF() {
            return UDF;
        }

        public void setUDF(WORKORDERUDFEntity UDF) {
            this.UDF = UDF;
        }
    }

    public static class WORKORDERUDFEntity implements Serializable {
        private String sealApprovedFlag;

        public String getsealApprovedFlag() {
            return sealApprovedFlag == null ? "" : sealApprovedFlag;
        }

        public void setsealApprovedFlag(String sealApprovedFlag) {
            this.sealApprovedFlag = sealApprovedFlag;
        }
    }

    public class FutureTimeRinstanceList implements Serializable{
        private String EARLY_PERIOD;
        private String EARLY_TIME;
        private String EXPIRE_TIME;
        private String HOLD_REASON;
        private String START_TIME;
        private String STEP_NAME;

        public String getEARLY_PERIOD() {
            return EARLY_PERIOD == null ? "" : EARLY_PERIOD;
        }

        public void setEARLY_PERIOD(String EARLY_PERIOD) {
            this.EARLY_PERIOD = EARLY_PERIOD;
        }

        public String getEARLY_TIME() {
            return EARLY_TIME == null ? "" : EARLY_TIME;
        }

        public void setEARLY_TIME(String EARLY_TIME) {
            this.EARLY_TIME = EARLY_TIME;
        }

        public String getEXPIRE_TIME() {
            return EXPIRE_TIME == null ? "" : EXPIRE_TIME;
        }

        public void setEXPIRE_TIME(String EXPIRE_TIME) {
            this.EXPIRE_TIME = EXPIRE_TIME;
        }

        public String getHOLD_REASON() {
            return HOLD_REASON == null ? "" : HOLD_REASON;
        }

        public void setHOLD_REASON(String HOLD_REASON) {
            this.HOLD_REASON = HOLD_REASON;
        }

        public String getSTART_TIME() {
            return START_TIME == null ? "" : START_TIME;
        }

        public void setSTART_TIME(String START_TIME) {
            this.START_TIME = START_TIME;
        }

        public String getSTEP_NAME() {
            return STEP_NAME == null ? "" : STEP_NAME;
        }

        public void setSTEP_NAME(String STEP_NAME) {
            this.STEP_NAME = STEP_NAME;
        }
    }
}
